package com.supermarket.util;

public class currentPage {
    private int pageSize;//页面的大小
    private int setTotalCount;//总计录条数
    private int currentPage=1;//当前的页面，给一个初始值为1
    private int totalPageCount;//一共有多少页



    public int getTotalPageCount() {
        return totalPageCount;
    }

    public void setTotalPageCount(int totalPageCount) {
        this.totalPageCount = totalPageCount;
    }

    public currentPage(int pageSize, int setTotalCount, int currentPage) {
        this.pageSize = pageSize;
        this.setTotalCount = setTotalCount;
        this.currentPage = currentPage;
    }

    public currentPage() {
    }



    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }


    public int getSetTotalCount() {
        return setTotalCount;
    }

    public void setSetTotalCount(int setTotalCount) {
        this.setTotalCount = setTotalCount;
    }

    public int getCurrentPage() {
        return currentPage;
    }

    public void setCurrentPage(int currentPage) {
        this.currentPage = currentPage;
    }
}
